Welcome Guest | Sign in | Register
Windows Controls - DotNet Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > DotNet Programming > Windows Controls Questions and Answers

46. What is the use of a Timer control? Can a Timer control pause?

The Timer control is a mechanism to perform an iterative task at a specified time interval. You cannot pause it because it can only start and stop.

47. What is die difference between a CheckBox control and a RadioButton control?

A CheckBox control is square shaped; whereas, a RadioButton control is round in shape. Moreover, you can select more than one CheckBox control from a group of CheckBox controls; whereas, you can select only a single RadioButton control from a group of RadioButton controls.

48. Can you write a class without specifying a namespace? Which namespace does it belong to by default?

Yes, we can write a dass without specifying namespace and that class belongs to a global namespace that has no name.

49. What are the three states set in the CheckState property of CheckBox?

• Checked
• Unchecked
• Indeterminate

50. How can you display an icon at runtime on the StatusStrip control?

The following code snippet shows the code to display an icon at runtime on the StatusStrip control:

toolStripStatusLabel2.Image = Bitmap.FromFile("D:\\Indiabix\\Images\\1.bmp");




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.